﻿

namespace GH.Common.ServiceLocator
{
    public static class ServiceInitializer
    {
        private static IServiceInitializer _serviceInitializer;

        public static IServiceInitializer Initializer
        {
            get
            {
                if (_serviceInitializer == null) _serviceInitializer = new ServiceInitializerImp();
                return _serviceInitializer;
            }
            set { _serviceInitializer = value; }
        }

        public static void Init()
        {
            Initializer.Init();
        }
    }
}